﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addStockInfo.aspx.cs" Inherits="morning_addStockInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
     <script src="../js/jquery-1.3.2.min.js" type="text/javascript"></script>
     <script src="../My97DatePicker/WdatePicker.js"></script>
   <script type="text/javascript">
       $(document).ready(function () {
           $("#btnBack").click(function () {
               document.location = "StockInfo.aspx";
           })
       })
    </script>
</head>
<body>
     <div class="page_title">股动中国实盘数据&nbsp; &gt; 数据录入</div>
    <form id="form1" runat="server">
    <div class="button_bar">
	<input type="button" class="common_button" id="btnBack" value="返回"/>
    <asp:Button ID="btnSave" CssClass="common_button" runat="server" Text="保存" 
            onclick="btnSave_Click" />
</div>
 <table class="query_form_table">
	<tr>
        <th>用户名</th>
		<td><asp:TextBox ID="txtUserName" runat="server" /> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ErrorMessage="*" ControlToValidate="txtUserName" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
		<th>委托时间</th>
		<td><%--<asp:TextBox ID="txtDate" runat="server" /> --%>
        <input class="Wdate" type="text" id="stime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ErrorMessage="*" ControlToValidate="stime" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
	
	</tr>
       <tr>
       	<th>股票代码</th>
		<td>
            <asp:TextBox ID="txtCode" runat="server" /> 
             <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ErrorMessage="*" ControlToValidate="txtCode" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
        <th>股票名称</th>
         <td> <asp:TextBox ID="txtName" runat="server" /> 
             <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                ErrorMessage="*" ControlToValidate="txtName" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
        </tr>
	<tr>
		<th>价格</th>
		<td><asp:TextBox ID="txtPrice" runat="server" /> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="*" ControlToValidate="txtPrice" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
         <th>数量</th>
		<td>
            <asp:TextBox ID="txtNum" runat="server" /> 
             <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ErrorMessage="*" ControlToValidate="txtNum" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
        <th>方向</th>
		<td>
        <asp:RadioButton ID="rbtnBuy" value="1" runat="server" Text="买入" Checked="True" GroupName="type" 
             />
            <asp:RadioButton ID="rbtnSell" value="0" runat="server" Text="卖出" GroupName="type" 
              />
        </td>
       
        </tr>
     
	</table>

    </form>
</body>
</html>